using System;

namespace Dating
{
	[Serializable]
	public class Subscription : BizObject
	{
		#region Fields

		private int subscriptionID;
		private int tenantID;
		private string name;
		private string validityPeriod;
		private string rate;
		private string description;

		#endregion

		#region Constructors

		/// <summary>
		/// Initializes a new instance of the Subscription class.
		/// </summary>
		public Subscription()
		{
		}

		/// <summary>
		/// Initializes a new instance of the Subscription class.
		/// </summary>
		public Subscription(int tenantID, string name, string validityPeriod, string rate, string description)
		{
			this.tenantID = tenantID;
			this.name = name;
			this.validityPeriod = validityPeriod;
			this.rate = rate;
			this.description = description;
		}

		/// <summary>
		/// Initializes a new instance of the Subscription class.
		/// </summary>
		public Subscription(int subscriptionID, int tenantID, string name, string validityPeriod, string rate, string description)
		{
			this.subscriptionID = subscriptionID;
			this.tenantID = tenantID;
			this.name = name;
			this.validityPeriod = validityPeriod;
			this.rate = rate;
			this.description = description;
		}

		#endregion

		#region Properties
		/// <summary>
		/// Gets or sets the SubscriptionID value.
		/// </summary>
		public  int SubscriptionID
		{
			get { return subscriptionID; }
			set { subscriptionID = value; }
		}

		/// <summary>
		/// Gets or sets the TenantID value.
		/// </summary>
		public  int TenantID
		{
			get { return tenantID; }
			set { tenantID = value; }
		}

		/// <summary>
		/// Gets or sets the Name value.
		/// </summary>
		public  string Name
		{
			get { return name; }
			set { name = value; }
		}

		/// <summary>
		/// Gets or sets the ValidityPeriod value.
		/// </summary>
		public  string ValidityPeriod
		{
			get { return validityPeriod; }
			set { validityPeriod = value; }
		}

		/// <summary>
		/// Gets or sets the Rate value.
		/// </summary>
		public  string Rate
		{
			get { return rate; }
			set { rate = value; }
		}

		/// <summary>
		/// Gets or sets the Description value.
		/// </summary>
		public  string Description
		{
			get { return description; }
			set { description = value; }
		}

		#endregion
	}
}
